This fixes a small race between when a domain is created and when xentop
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 24 Nov 2005 10:17:20 +0000 (11:17 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 24 Nov 2005 10:17:20 +0000 (11:17 +0100)
commitefb8e0c63f3d394ac37bfeaf3c27cc092d06317f
tree1a71ce5142c48fa11b9e7d4be7320e663d25447c
parentd0d531a4c5f20aef1ea5d7d93fe875fc5fb143bf
This fixes a small race between when a domain is created and when xentop
tries to read it's info from the xenstore. Instead of sending a NULL
pointer for the name the name will be displayed as a ' ' until the next
refresh where xentop will then properly display the name.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tools/xenstat/libxenstat/src/xenstat.c